import request from '@/utils/request'

export function getSchoolAPI(data) {
  return request({
    url: '/manage/school/schoolInfo',
    method: 'post',
    data,
  })
}

export function getUserInfoAPI(data) {
  return request({
    url: '/manage/user/myInfo',
    method: 'post',
    data,
  })
}

export function getQiniuToken(data = {}) {
  return request({
    url: '/qiniu/qiniuToken',
    method: 'post',
    data,
  })
}
